@import '~styles/colors.less';

.info {
  display: inline-block;
  vertical-align: top;
}

.actionButton {
  display: inline-block;
  vertical-align: top;
  width: 30px;
  height: 30px;
  margin: 10px 7px;

  :global i {
    font-size: 22px;
    line-height: 30px;
    color: @adminText;
  }

  &.active {
    :global i {
      color: @primary;
    }
  }
}

.push {
  position: absolute;
  bottom: 130px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
  text-align: center;
}

.pushText {
  font-size: 14px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 15px;
}

.publishButton {
  width: auto;
  :global {
    i, span {
      display: inline-block;
      vertical-align: top;
      color: @primary;
      line-height: 30px;
      font-size: 14px;
    }
    i {
      font-size: 22px;
      margin-right: 7px;
    }
    span {
      text-transform: uppercase;
    }
  }
}

.unpublishButton {
  width: auto;
  :global {
    i, span {
      display: inline-block;
      vertical-align: top;
      color: @draft;
      line-height: 30px;
      font-size: 14px;
    }
    i {
      font-size: 22px;
      margin-right: 7px;
    }
    span {
      text-transform: uppercase;
    }
  }
}

.content {
  position: absolute;
  transform: translateY(70px);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  background-color: #ffffff;
}

.customContent {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
}

.contentPage {
  position: absolute;
  top: 0;
  width: 0;
  right: 0;
  bottom: 70px;
}

.cover {
  cursor: pointer;
  display: block;
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
    background-color: fade(@chromeBackgroundDarkerColor, 90%);
  z-index: 10;
  transition: background-color 0.4s ease-out;

  &:hover {
    background-color: fade(@chromeBackgroundColor, 88%);
  }
}

.coverContent {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -80%);
  text-align: center;
  border: 2px dotted #ffffff;
  width: 176px;
  height: 176px;
  border-radius: 50%;
  padding: 35px 0;

  :global {
    i, div {
      display: block;
      color: #ffffff;
    }
    i {
      font-size: 60px;
    }
    div {
      margin-top: 20px;
      font-size: 16px;
    }
  }
}

.build {
  .cover {
    opacity: 0;
    display: none;
  }
  .content {
    transform: translateY(0px);
    bottom: 0px;
  }
}

.templatePicker {
  margin: 10px 15px;
  cursor: pointer;
  :global i {
    display: inline-block;
    vertical-align: top;
    line-height: 30px;
    color: @adminText;
    font-size: 12px;
    padding-left: 5px;
  }
}

.templatePicker, .tpLabel, .tpValue {
  display: inline-block;
  vertical-align: top;
}

.tpLabel {
  font-size: 16px;
  color: @adminTextHighlight;
  font-weight: 300;
  line-height: 30px;
  padding-right: 5px;
}

.tpValue {
  font-size: 16px;
  color: @primary;
  line-height: 30px;

  &.none {
    color: @adminText;
  }
}
